package com.whut.imservice.service.impl;

import com.whut.imservice.domain.vo.MessageVO;
import com.whut.imservice.mapper.MsgContactMapper;
import com.whut.imservice.mapper.MsgContentMapper;
import com.whut.imservice.mapper.MsgRelationMapper;
import com.whut.imservice.service.MsgService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 消息处理Service实现类
 * @Author: Zonghe Wang
 * @Date: 2025/5/24 21:44
 */
@Service
@RequiredArgsConstructor
public class MsgServiceImpl implements MsgService {

    private final MsgContentMapper msgContentMapper;

    private final MsgContactMapper msgContactMapper;

    private final MsgRelationMapper msgRelationMapper;

    @Override
    public List<MessageVO> queryConversationMsg(Long ownerUid, Long otherUid) {
        return List.of();
    }

    @Override
    public MessageVO sendNewMsg(Long senderUid, Long recipientUid, String content, Integer msgType) {
        return null;
    }

    @Override
    public Long queryTotalUnread(Long uid) {
        return 0L;
    }
}
